Dreitier\Nadi\Vendor\Twig\Environment C

Total Complexity 111
Dependencies 37
Dependents 49
Total lines 851
Lines of code 363
Logical lines of code 177
Comment lines 260
Methods 64
Properties 20

Methods 64

Method Rating Maintainability Complexity Lines of code
loadTemplate()
A
48 10 31
resolveTemplate()
S
54 7 20
getRuntime()
S
59 5 14
setCache()
S
60 5 13
__construct()
S
49 3 31
createTemplate()
S
55 3 18
addGlobal()
S
63 4 10
getGlobals()
S
66 3 9
setCharset()
S
70 3 6
compileSource()
S
63 3 10
load()
S
64 3 10
getTemplateClass()
S
71 3 4
updateOptionsHash()
S
63 2 11
getCache()
S
80 2 3
removeCache()
S
64 2 9
isTemplateFresh()
S
78 2 3
tokenize()
S
70 2 6
parse()
S
70 2 6
compile()
S
70 2 6
getTest()
S
80 1 3
addNodeVisitor()
S
81 1 3
getNodeVisitors()
S
81 1 3
addFilter()
S
81 1 3
getFilter()
S
80 1 3
registerUndefinedFilterCallback()
S
81 1 3
getFilters()
S
81 1 3
addTest()
S
81 1 3
getTests()
S
81 1 3
getFunction()
S
80 1 3
addFunction()
S
81 1 3
getTokenParser()
S
80 1 3
registerUndefinedFunctionCallback()
S
81 1 3
getFunctions()
S
81 1 3
disableDebug()
S
77 1 4
enableDebug()
S
77 1 4
resetGlobals()
S
77 1 4
mergeGlobals()
S
74 1 4
getUnaryOperators()
S
81 1 3
getBinaryOperators()
S
81 1 3
registerUndefinedTokenParserCallback()
S
81 1 3
setExtensions()
S
77 1 4
getTokenParsers()
S
81 1 3
disableAutoReload()
S
81 1 3
render()
S
80 1 3
display()
S
80 1 3
isStrictVariables()
S
82 1 3
disableStrictVariables()
S
77 1 4
enableStrictVariables()
S
77 1 4
isAutoReload()
S
82 1 3
setLexer()
S
81 1 3
setParser()
S
81 1 3
setCompiler()
S
81 1 3
setLoader()
S
81 1 3
addTokenParser()
S
81 1 3
getLoader()
S
82 1 3
enableAutoReload()
S
81 1 3
useYield()
S
82 1 3
hasExtension()
S
80 1 3
addRuntimeLoader()
S
80 1 3
getExtension()
S
80 1 3
isDebug()
S
82 1 3
addExtension()
S
77 1 4
getExtensions()
S
81 1 3
getCharset()
S
82 1 3